package com.bskj.sj.bean.compent;

import java.io.InputStream;

import com.github.wxpay.sdk.WXPayConfig;

public class MyWxPayConfig implements WXPayConfig {
	// App ID 公账号ID
	private String appID;

	// Mch ID 商户ID
	private String mchID;

	// API 密钥
	private String key;

	// 商户证书内容
	private InputStream certStream;

	// HTTP(S) 连接超时时间，单位毫秒
	private int httpConnectTimeoutMs = 6 * 1000;

	// HTTP(S) 读数据超时时间，单位毫秒
	private int httpReadTimeoutMs = 8 * 1000;

	public String getAppID() {
		return appID;
	}

	public void setAppID(String appID) {
		this.appID = appID;
	}

	public String getMchID() {
		return mchID;
	}

	public void setMchID(String mchID) {
		this.mchID = mchID;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public InputStream getCertStream() {
		return certStream;
	}

	public void setCertStream(InputStream certStream) {
		this.certStream = certStream;
	}

	public int getHttpConnectTimeoutMs() {
		return httpConnectTimeoutMs;
	}

	public void setHttpConnectTimeoutMs(int httpConnectTimeoutMs) {
		this.httpConnectTimeoutMs = httpConnectTimeoutMs;
	}

	public int getHttpReadTimeoutMs() {
		return httpReadTimeoutMs;
	}

	public void setHttpReadTimeoutMs(int httpReadTimeoutMs) {
		this.httpReadTimeoutMs = httpReadTimeoutMs;
	}
}
